package xdev.vt.dummies;


import org.junit.Ignore;

import xdev.db.DataType;
import xdev.lang.StaticInstanceSupport;
import xdev.ui.text.TextFormat;
import xdev.vt.VirtualTable;
import xdev.vt.VirtualTableColumn;


@Ignore
public class PersonInfoVT extends VirtualTable implements StaticInstanceSupport
{
	
	public final static VirtualTableColumn<Integer>	id;
	public final static VirtualTableColumn<String>	Notiz;
	
	static
	{
		id = new VirtualTableColumn<Integer>("id");
		id.setType(DataType.INTEGER);
		id.setDefaultValue(null);
		id.setPreferredWidth(100);
		id.setTextFormat(TextFormat.getPlainInstance());
		
		Notiz = new VirtualTableColumn<String>("Notiz");
		Notiz.setType(DataType.VARCHAR,100);
		Notiz.setDefaultValue(null);
		Notiz.setPreferredWidth(100);
		Notiz.setTextFormat(TextFormat.getPlainInstance());
	}
	

	public PersonInfoVT()
	{
		super(PersonInfoVT.class.getName(),"PersonInfoVT",id,Notiz);
		
		setPrimaryColumn(id);
		
	}
	
	public final static PersonInfoVT	VT	= new PersonInfoVT();
	

	public static PersonInfoVT getInstance()
	{
		return VT;
	}
	
}